package cn.driver.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.driver.domain.Car;

public interface CarMapper {
	//查重
	Car selectCar(String car_id);
	//新增
	void registCar(@Param("car_id")String car_id,
			@Param("teacher")String teacher,
			@Param("remarks")String remarks);
	//修改信息
	void updateCar(@Param("car_id")String car_id,
			@Param("teacher")String teacher,
			@Param("remarks")String remarks,
			@Param("info")String info);
	//删除车辆
	void deleteCar(String car_id);
	//模糊查询
	List<Car> searchInfo(@Param("Info")String Info);
	//遍历
	List<Car> carInfo();


}
